#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<assert.h>
char* my_strcpy(char* destination,const char* source)
{
	assert(destination&&source);
	char* ret = destination;
	while (*source)
	{
		*destination = *source;
		destination++;
		source++;
	}
	return ret;
}
int main() 
{
	char arr1[50] = "Hello Deer!";
	char arr2[100] = { 0 };
	printf("%s\n", arr1);
	printf("%s\n", my_strcpy(arr2, arr1));
	printf("%s\n", arr2);
	return 0;
}